Add help dialog to Tracking Categories screen (v0.29.0-beta.1) #131
Open
mapgie wants to merge 2 commits into
Open
Add help dialog to Tracking Categories screen (v0.29.0-beta.1)
#131mapgie wants to merge 2 commits into
mapgie wants to merge 2 commits into
Conversation
…a.1) Default-type categories (e.g. Flow, Symptoms, custom) now show values as ordered shades of the category's own colour rather than cycling through unrelated theme colours. The lowest-displayOrder value gets a light tint (30% base, 70% surface); the highest gets the full category colour. Numeric and multi-select categories are unaffected and continue cycling colours. - ordinalShade() added to CategoryAppearance.kt (pure lerp, no DB touch) - PieData and TrendsData gain colorToken + valueOrders fields (default empty, so DashboardViewModel and NumericDistributionChart fall back gracefully) - Both StatsViewModel and ChartDataComputer populate these for DEFAULT type - PieChart slices and TrendsChart progress bars resolve shade at render time Known gap: shading assumes a consistent user convention for displayOrder direction (low = least intense, high = most intense). User-created categories may not follow this; documented in the PR description. https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ
Tapping the info icon in the toolbar opens a scrollable dialog covering: category types (Default, Slider, Numeric, Plus One), value ordering and its effect on stats shading, drag-to-reorder, archive, and delete. https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tapping the info icon in the toolbar opens a scrollable dialog covering:
category types (Default, Slider, Numeric, Plus One), value ordering and
its effect on stats shading, drag-to-reorder, archive, and delete.
https://claude.ai/code/session_01KE4y5cJH6cn7fCVmBhPnbJ